#ifndef STOCKCONTROLLER_H
#define STOCKCONTROLLER_H

#include <QList>
#include "core/basecontroller.h"
#include "core/basemodel.h"
#include "core/itemmodel.h"
#include "core/stockmodel.h"

class StockController : public BaseController
{
    Q_OBJECT
public:
    explicit StockController(QObject *parent = 0);
    QList<BaseModel *> getDwindlingStocks();
    QList<BaseModel *> getAll();
    QList<BaseModel *> getStocksOf(ItemModel *item);

    void addStock(StockModel *stock);

signals:

public slots:

};

#endif // STOCKCONTROLLER_H
